package _99练习;
//15. 分别用List及Map并遍历输出 
//存放以下信息
//高三1班
//1001 张三 97 65 77
//1002 李四 59 60 75
//1003 王五 75 83 08
//高三2班
//2001 刘备 45 75 60
//2002 关羽 79 80 53
//2003 孙权 97 99 100
//高三3班
//3001 周瑜 68 97 53
//3002 黄盖 99 98 80
//3003 鲁肃 100 75 65

public class Student {
	String classname;
	int num;
	String name;
	int chinese;
	int math;
	int english;

	public Student(String classname, int num, String name, int chinese, int math, int english) {
		super();
		this.classname = classname;
		this.num = num;
		this.name = name;
		this.chinese = chinese;
		this.math = math;
		this.english = english;
	}

	public Student(int num, String name, int chinese, int math, int english) {
		super();
		this.num = num;
		this.name = name;
		this.chinese = chinese;
		this.math = math;
		this.english = english;
	}

	public Student() {
		super();
	}

	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return "" + classname + "" + "\n" + "" + num + "" + " " + "" + name + "" + " " + "" + chinese + "" + " " + ""
				+ math + "" + " " + "" + english + "";
	}

}